package com.class06.ioc02;

import lombok.Data;

@Data
public class UserService {

    private String name;
    private int age;

    private UserDao userDao;

    public UserService(UserDao userDao){
        this.userDao = userDao;
    }

    public  UserService(int age){
        this.age = age;
    }

    public UserService(int age,UserDao userDao,String name){
        this.age = age;
        this.userDao = userDao;
        this.name = name;
    }




}
